part of './chat_cubit.dart';

class ChatState {
  User toUser;
  List<Chat> dataList;

  ChatState({required this.dataList, required this.toUser});

  factory ChatState.clone(ChatState state) {
    return ChatState(dataList: state.dataList, toUser: state.toUser);
  }
}
